package com.ruoyi.tb.lmt.service;

import com.ruoyi.tb.lmt.domain.TbAcceptance;
import com.ruoyi.tb.lmt.domain.vo.TbAcceptanceVo;
import com.ruoyi.tb.lmt.domain.bo.TbAcceptanceBo;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.core.domain.PageQuery;

import java.util.Collection;
import java.util.List;

/**
 * 验收主表Service接口
 *
 * @author ruoyi
 * @date 2024-01-11
 */
public interface ITbAcceptanceService {

    /**
     * 查询验收主表
     */
    TbAcceptanceVo queryById(Long id);

    /**
     * 查询验收主表列表
     */
    TableDataInfo<TbAcceptanceVo> queryPageList(TbAcceptanceBo bo, PageQuery pageQuery);

    /**
     * 查询验收主表列表
     */
    List<TbAcceptanceVo> queryList(TbAcceptanceBo bo);

    /**
     * 新增验收主表
     */
    Boolean insertByBo(TbAcceptanceBo bo);

    /**
     * 修改验收主表
     */
    Boolean updateByBo(TbAcceptanceBo bo);

    /**
     * 校验并批量删除验收主表信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);

    TbAcceptanceBo selectByBo(TbAcceptanceBo bo);

    TableDataInfo<TbAcceptanceVo> selectByAcceptance(String id, String lmtType, String lmtNumber, String status, String repairChar, String planName, String workGroup, String workUser, PageQuery pageQuery);

    String updateWorkNeedByBo(Long id);
}
